#ifndef _core_switch_case_range_hpp_
#define _core_switch_case_range_hpp_

/** \file case_range.hpp
 *  \author Adrian Schweizer
 *  \created  $Mo 11 Feb 08:33:01 pm CET 2008 schwadri@SchwadriLaptop.local$
 *  \modified $Mo 11 Feb 08:34:44 pm CET 2008 schwadri@SchwadriLaptop.local$
 */

#include <boost/mpl/range_c.hpp>

#include "case_sequence.hpp"

namespace core {

    template <typename T, T Key0, T Key1, typename Functor>
        case_sequence<boost::mpl::range_c<T,Key0,Key1>,Functor>
        case_range_c(const Functor& functor)
        {
            return case_sequence<boost::mpl::range_c<T,Key0,Key1>,Functor>(functor);
        }


} // namespace core

#endif // _core_switch_case_range_hpp_
